﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using Org.Eurekaa.DNJ.Settings;

namespace Org.Eurekaa.DNJ.UI.DNJSettings
{
    [Serializable()]
    [TypeConverter(typeof(ExpandableObjectConverter))]    
    public class DNJCoookieSettings : GenericSettingsObject
    {
        [Description("")]
        [DefaultValue(""), NotifyParentProperty(true), RefreshProperties(RefreshProperties.Repaint)]
        public string Name
        {
            get { return this.Get<string>("name"); }
            set { this["name"] = value; }
        }
        [Description("")]
        [DefaultValue(0), NotifyParentProperty(true), RefreshProperties(RefreshProperties.Repaint)]
        public int Expires
        {
            get { return this.Get<int>("expires"); }
            set { this["expires"] = value; }
        }

    }
}
